﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExamDefaultSet.aspx.cs" Inherits="E.Web.Teacher.exam.ExamDefaultSet" %>
<%@ Import Namespace="E.Model" %>
<%@ Import Namespace="E.Enum" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>试卷模板管理</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  
  <link rel="stylesheet" href="/css/main.css" type="text/css" media="all" />
  <link rel="stylesheet" href="/css/t_main.css" type="text/css" media="all" />
  <link rel="stylesheet" href="/css/exam.css" type="text/css" media="all" />
  <script type="text/javascript" src="/js/jquery-1.4.2.min.js"></script>
  <script type="text/javascript" src="/js/ajax.js"></script>
  <script type="text/javascript" src="/js/exam.js"></script>
  <script type="text/javascript" src="/js/CheckBox.js"></script>
    <script type="text/javascript">
        SetCheckBoxProperty("SltAllbtn", "p_chkb");
  </script>
</head>
<body>
    <form id="form1"  method="post" action="?act=s">
    <div class="m_top"></div>
    <div class="block" style="height:80px;">
      <div style="width:650px; height:22px;">
        <div class="title">&nbsp;试卷模板管理</div>
      </div>
      <div class="spe_line_2"></div>
      <div style="width:650px; height:23px; margin-top:6px;">
        <div class="fl">&nbsp;&nbsp;<input type="image" style="width:54px; height:23px;" src="/images/btn/search.gif" /></div>
        <div class="fl">&nbsp;&nbsp;<a href="/exam/ExamDefaultSetEdit.aspx?act=n"><img alt="" src="/images/btn/add_2.gif" /></a></div>
      </div>
 </div>
      <div class="block_2">
      <div style="width:650px; height:22px;">
        <div class="title">&nbsp;搜索结果</div>
      </div>
      <div class="spe_line_2"></div>
      
     
    <% if (examList != null && examList.Count > 0) { %>      
    
      <div id="datatable">
        <div class="data_rows" style="font-weight:bolder;">
          <div class="d_r_cb"><input type="checkbox" id="SltAllbtn" onclick="SelectAllCheckBox();" class="chkb" /></div>
          <div class="d_r_et">模板名称</div>
          <div class="d_r_est">&nbsp;</div>
          <div class="d_r_eo">操作</div>
        </div>
        
        <% foreach (ExamDefaultModel model in examList){ %>
        <div class="data_rows">
          <div class="d_r_cb"><input type="checkbox" id="chkb_<%=model.id %>" name="p_chkb" value="<%=model.id %>" class="chkb" onclick="SelectThis();" /></div>
          <div class="d_r_et"><%=model.DefaultName %></div>
          <div class="d_r_est">&nbsp;</div>
          <div class="d_r_eo"><a href="/exam/ExamDefaultSetEdit.aspx?act=u&id=<%=model.id %>">查看</a></div>
        </div>
        <% } %>
      </div>
      
      <div class="fr" style="margin:8px 0 0 0;"><%=mypager%></div>
      <div style="margin:8px 0 0 0;">
        <input type="hidden" id="arrv" name="arrv" />
        <img alt="" src="/images/btn/del_s.gif" class="cursor" onclick="DeleteSelection_D();" />
      </div>
      
    <% } else { %>
    <% } %>
      
    </div>

    </form>
</body>
</html>
